package com.wallace.downloadserver.service

import com.wallace.downloadserver.bean.User
import com.wallace.downloadserver.pojo.LoginData

/**
 * @Author: Wallace
 * @Description:
 * @Date: 2022/1/14 22:11
 * @Modified By:
 */
interface UserService {
    fun deleteByPrimaryKey(uid: String?): Int
    fun insert(record: User?): Int
    fun insertSelective(record: User?): Int
    fun selectByPrimaryKey(uid: String?): User?
    fun selectByLoginData(loginData: LoginData): User?
    fun updateByPrimaryKeySelective(record: User?): Int
    fun updateByPrimaryKey(record: User?): Int
}